import { IParam } from '@/core';
import { IDrtabAbility } from '../ability';
import { IDrtabStore } from '../store';
import { IDECtrlController } from './i-de-ctrl-controller';

/**
 * 数据关系分页栏部件控制器接口
 *
 * @export
 * @interface IDrtabController
 * @extends {ICtrlController}
 */
export interface IDrtabController<
	S extends IDrtabStore,
	A extends IDrtabAbility
> extends IDECtrlController<S, A> {
	/**
	 * @description 处理选中数据
	 * @param {IParam} item
	 * @memberof IDrtabController
	 */
	handleSelectChange(item: IParam): void;
}
